<?php
include('class.php');

if($_POST)
{
    $db=new DB();
    $check=$db->addBulletin();
    $db->close();
    if($check==1){
		echo "<script type='text/javascript' language='javascript'>
              alert('Send Announcement Successfully!');
             </script>";
        Header('Refresh: 0.01;url=BulletinForManager.php');
        
    }
}